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

Резултати

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

Търсене: #oman

当前筛选 #oman清除筛选
International Geographic

@internationalgeographic · Post #5482 · 09.03.2025 г., 04:12

#Oman🇴🇲 This oasis is called Vadi Bani Khalid and is one of the main attractions of the country. The Vadi landscape is striking in its diversity: here you will find both green oases with palm trees, and arid canyons with colorful cliffs. Picturers palm groves, transparent lakes and hills made of soft, golden sand. This place seems to invite us to plunge into an oasis of calm and harmony with nature.

Hashtags

Islamic World News

@iswnews_en · Post #18459 · 08.04.2026 г., 01:06

🇮🇷🇴🇲According to an Associated Press report, Iran and Oman will collect tolls from all ships transiting the Strait of Hormuz during the two‑week ceasefire. ✍️ Recall Oman’s stance during the treacherous American attacks on the port of Salalah. Oman position and congratulate for the elect of new Iran's supreme leader so infuriated Trump that he even insulted the Sultan of Oman. Among the Arab nations, Yemen (Sana’a government) and Oman stood on the right side and did not bet on the losing horse! The current state of the UAE, Bahrain, Saudi Arabia, Kuwait, and Jordan is a testament to the wisdom of Omani policy. #Iran#Oman

Hashtags

Islamic World News

@iswnews_en · Post #18336 · 06.04.2026 г., 02:49

🇮🇷🤝🇴🇲 A new protocol has been finalized by Iran regarding the Strait of Hormuz and has been communicated to the IRGC Navy for implementation. This new protocol is based on the assumptions that, firstly, Iran’s enemies have no right to use the strait, and secondly, Iran must secure and compensate for all damages it has suffered through the strait. 👉Oman has agreed to cooperate with Iran’s new protocol in the Strait of Hormuz. #Iran#Oman

Hashtags

Islamic World News

@iswnews_en · Post #17306 · 12.03.2026 г., 02:07

🇮🇷🇴🇲Iran's Khatam al-Anbiya Central Headquarters: The Salalah port incident is suspicious 🔹The spokesperson for the Central Headquarters of Khatam al-Anbiya (PBUH), in response to the suspicious attack on Salalah port in Oman, said: "The incident that occurred at Salalah port in the friendly, neighboring, and brotherly country of Oman appears very suspicious. The Islamic Republic of Iran is investigating this matter. The security and national sovereignty of Oman are respected by the Armed Forces of the Islamic Republic of Iran." ✍️ As we have said before, Iran has no intention of attacking civilian sites, and if it did, human casualties and financial damages in Arab countries would be unimaginable. The attack on Oman, which is considered a friend of Iran, is also very suspicious. Salalah port is also very far from southern Iran in terms of distance, and there is a possibility that this port was attacked by American drones. The U.S. is under pressure and spares no action against Iran! #Iran#Oman

Hashtags

POPULAR FRONT

@popularxfront · Post #5646 · 28.03.2026 г., 14:03

🇮🇷#Iran - 🇴🇲#Oman: Two alleged Iranian drones have struck Salalah Port in Oman, damaging port cranes. The Omani government has released a statement condemning the attack, stating that one port worker was “moderately injured.”

Hashtags

ASIANOMICS

@asianomics · Post #5662 · 03.03.2026 г., 08:40

🇨🇳🇮🇷🇴🇲China urges Gulf states to unite against external interference amid widening conflict China's foreign minister urged Gulf countries to unite to oppose external interference on March 2, after US-Israeli attacks on Iran triggered a widening conflict in the region. China hoped that the Gulf states would strengthen unity and develop neighbourly friendship to "keep their future and destiny in their own hands", Chinese Foreign Minister Wang Yi said in a phone call with his Omani counterpart, according to a statement released by the ministry. In a phone call with Iranian Foreign Minister Abbas Araqchi on the same day, Wang said he believed that Iran could maintain national and social stability as well as attach importance to the legitimate concerns of its neighbours, a separate statement showed. #China#Iran#Oman @asianomics

Islamic World News

@iswnews_en · Post #17479 · 20.03.2026 г., 21:27

🇮🇷🎙Leader of Iran: The attacks in Oman and Turkey are not Iran's doing. ✉️ Seyyed Mojtaba Khamenei, the Leader of Iran, stated in this year's Nowruz message: "I point out that the attacks which took place in Turkey and Oman—both of which have good relations with us—against certain locations in these countries were by no means carried out by the armed forces of the Islamic Republic or any other forces of the Resistance Front. "This is a deception employed by the Zionist enemy using the false flag tactic" to sow discord between the Islamic Republic and its neighbors, and it may also occur in some other countries." #Iran#Oman#Turkey

ПредишнаСтр. 1 от 5Следваща