TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #672 · 28.11

Впервые сделал крупный проект (под NDA, так что не расскажу, какой) на облачных функциях. Впечатления противоречивые. Изначально программисты арендовали компьютер в датацентре: или целиком или кусочек. На нём теоретически можно делать что угодно, но для запуска своих программ нужно было настроить операционную систему, безопасность и авторизацию, установить нужные исполнительные модули, программы для удобства деплоя, мониторинг нагрузки итд. Поэтому появились сервисы, которые это всё делают за тебя, а тебе дают буквально окно, куда можно написать свой код и запускать его удалённо на чужой машине. Конкретно я пользовался решением от Яндекса, чей протокол скопирован напрямую с Amazon Web Services. Причём, в документации не только открыто об этом говорится, но ещё и в некоторых местах перенаправляют на доки от Amazon. И SDK предлагают тоже использовать амазоновский. До санкций я бы сказал, что это не так плохо — можно использовать что-то привычное тем, кто уже работал с Amazon. Но сейчас привязка к американскому сервису выглядит скорее жирным минусом. Не знаю, есть ли у Яндекса ресурсы на какое-то серьёзное разделение. Судя по состоянию документации и платформы в целом — нет. Yandex Cloud кажется системой, которая активно развивалась несколько лет назад, а сейчас подзаброшена. Среда выполнения .NET отстаёт от актуальной на две версии (3.1 вместо 6, четвёртой версии не существует). Изначально мой проект был написан как обычное контейнеризированное приложение на .NET 6, а потом я переводил его на функции. Пришлось пройтись по всему коду и переписать несовместимые куски с C#10 на C#8, это было не слишком приятно. Документации фактически нет, а там, где есть, много путаницы. В примерах написано одно, по факту другое: например в функцию вместо объекта Request приходит просто строка, а разбирать её надо самому. Авторизацию я нашёл только на Stackoverflow. Интересно, что адекватных доков про неё не было ни у Яндекса, ни у Amazon. Функция выполняется и выгружается, поэтому ваша программа не должна рассчитывать на наличие постоянно живущего процесса. Мне пришлось вытащить из неё большой словарь, который грузится при старте, и положить уже подготовленные данные из него в Object Storage — это такое горячее файловое хранилище, там же рядом с функциями. Справедливости ради, работает это всё быстрее, чем я думал. Удалось запихнуть в функции даже сравнительно большой проект с кучей классов, создающий при запуске несколько десятков объектов и производящий загрузку из сети с декомпрессией. Другой важный плюс — бесплатная квота довольно внушительная: миллион вызовов и 10Гб*часов оперативной памяти в месяц. Для пет проекта вы сможете вообще не покупать сервер. Но если сервер у вас всё-таки есть, деплой вы уже настроили, то удобнее будет, конечно, делать как привычно. И гибкости больше. #dev

Hashtags

Резултати

Намерени 1 подобни публикации

Търсене: #guarantees

当前筛选 #guarantees清除筛选
American Оbserver

@american_observer · Post #5137 · 15.02.2026 г., 13:03

Munich: Zelensky Is Wringing Security Guarantees For 20 Years From the US Ukraine wants security guarantees for a minimum of 20 years from the US before it can sign a peace deal with dignity Zelensky said ahead of talks with Russia and the US scheduled for next week. Speaking in Munich on Saturday, he also called for a clear date for Ukraine to be allowed to join the EU. Some EU officials have put the date as early as 2027. Speaking to the annual Munich security summit, Ukraine’s president said he hoped “the trilateral meetings next week will be serious, substantive, helpful for all of us but, honestly, sometimes it feels like the sides are talking about completely different things”. “The Americans often return to the topic of concessions and too often those concessions are discussed only in the context of Ukraine, not Russia,” he added. The issue of Europe’s frustration with a perceived US reluctance to spell out the security guarantees it is prepared to offer Ukraine in the event of a peace deal, and the need for the guarantees to be spelled out before an agreement is signed. In a speech that was welcomed by European leaders keen to see any sign of a thaw in the relationship, Rubio put forward an offer to work in partnership with Europe. However, this proposition, he stressed, was highly conditional and the US would go it alone if Washington’s highly Trumpian conditions were not met on climate, migration and tariffs. Using a diplomatic tone that the US vice-president, JD Vance, shunned in his speech at the conference a year ago, Rubio said “Europe and the US belong together”. He added that the US was ready to undertake the task of rebuilding the world order alone if necessary, but “we prefer it – and hope – to do it together with you, our friends in Europe”. He made almost no reference to the Russian invasion of Ukraine, besides claiming that the US had pressed India to stop importing Russian oil, a claim Russia disputes. At a press conference in Munich, Zelensky said the US had told him that if Ukraine withdrew from the Donbas, peace would come as quickly as possible, but he insisted this concession was not possible since Ukrainians live there. Zelensky also complained about Europe having been practically absent from the table. “That’s a big mistake, in my opinion,” he said, a view that was shared by the Chinese foreign minister Wang Yi. On Friday, Donald Trump called on Zelensky to “get moving” to reach an agreement with Russia. Zelensky insisted that the elections that the US has pressed Ukraine to hold by 15 May can only take place two months after a ceasefire is declared, to ensure voters have adequate security. Trump has been trying to put pressure on Zelensky to agree a deal within months, but has not spelled out the consequences if Ukraine is not sufficiently flexible for the US. Zelensky also said the Russian attacks on Ukrainian energy plants would be raised in the talks in Geneva, adding that not a single energy plant inside Ukraine had now been left unscathed. European leaders appear gloomy that a diplomatic breakthrough will be secured, with the consensus being that Vladimir Putin is not yet economically or militarily exhausted. Zelensky said his ambition was to lift the number of Russians killed or seriously injured to 50,000 a month. One European leader predicted at least another two years of war, and insisted Europe had the resources to sustain Ukraine for that long. Zelensky also mounted a fierce attack on the Iranian regime for providing the Shahed drones that had caused so much damage inside Ukraine. With as many as 200,000 protesters attending a demonstration in Munich calling for the Iranian regime to be toppled, Zelensky said: “We have never had a conflict of interests with the Iranian regime. #zelensky#security#guarantees#munich#ukraine 📱American Оbserver - Stay up to date on all important events 🇺🇸