Впервые сделал крупный проект (под 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
🌾Jatiluwih rice terraces prepare to launch laser show
🎆 The famous Jatiluwih Rice Terraces in Tabanan, a UNESCO World Heritage Site, will delight tourists with a nighttime laser show.
🌅 The aim of this project is to make the rice terraces attractive to visitors even after 6pm. Usually it is quiet after sunset and all cafes and stores are closed.
🔜 The show is scheduled to officially open to the public from December 1, 2024.
@BaliNews
#places#Tabanan
🔥Fire at Ulaman Eco Luxury Resort: bamboo resort in Tabanan burned down
📰 One of the island's most famous eco-resorts, Ulaman Eco Luxury Resort, burned down in Tabanan. The flames engulfed the buildings during the day, and strong winds accelerated their spread. The fire was clearly visible from afar, as the complex is located in rice fields.
👩🚒 Seventeen bamboo villas were destroyed. Fortunately, none of the residents were on site at the time of the fire.
#accidents#Tabanan@BaliNews
📰Helicopter pad near Jatiluwih fields to open in March
🌾 The Jatiluwih Rice Terraces, a UNESCO World Heritage Site, will have a helipad. The helipad for VIP visitors to the attraction has already been constructed and the official opening will take place in March 2025.
🚁 At the moment, the period of testing and trial landings has been completed. The helipad will have no impact on the protected landscape and the rice terraces themselves.
@BaliNews
#transport#places#Tabanan
🛕Tanah Lot Arts and Culture Festival at Pura Tanah Lot Temple
📆 On August 22 (Friday), the festival will bring together spectacular performances, music, cuisine, and an atmosphere imbued with the spirit of the island.
📍 Tanah Lot Temple is one of the nine main sacred temples of Bali. It is protected by UNESCO. Thousands of tourists come every day to see this amazing place.
🌅 Guests will enjoy vibrant cultural performances: traditional dances, the mesmerizing sounds of gamelan, and the main symbol of the festival – the colorful Gebogan parade, taking place against the backdrop of the sunset sky.
#events#culture#Tabanan@BaliNews
🍿Free movie nights every Monday
📍 Ash Nuanu, Tabanan
⏰ 7:30 pm
🎫 Cult films, cozy vibes, craft beer, and pizza. Register free to save the spot.
#events#wheretogo#free#Tabanan@BaliNews
🍛Where to try rare Balinese dishes this weekend?
🧑🍳 Already this weekend, from August 23 to 25, an art and cooking festival will be held at Tanah Lot Temple in Tabanan. The organizers promise not just to open a food court, but to treat visitors to rare masterpieces of Indonesian cuisine.
🌅 All three days of festivities will be organized and conducted by the efforts of the people of 23 traditional villages. At sunset, they will participate in a very colorful traditional Gebogan parade with the theme “Sunset in Paradise”.
@BaliNews
#wheretogo#events#festivals#Tabanan
🪩21-meter immersive sphere The Dome Experience opened in Bali
🔎 A rather interesting interactive object has appeared in Bali. This is The Dome Experience by Labyrinth Collective. The company has built a huge dome with a diameter of 21 meters, inside which there is a screen with an area of 600 square meters.
🔊 484 powerful speakers with a total length of 60 meters are installed behind the screen in a circle. Inside, in the center of the hall is a stage for performances. In addition to the visual and powerful sound spatial effects, the audience will also be treated to a show presented by dancers.
📍 The dome is located at Luna Beach Club within the new conceptual innovation village Nuanu. It is a “creative city” project in Bali, next to Nyanya Beach in Tabanan district.
📆 The sessions are held every Wednesday and Saturday from 11 am to 12:30 pm and tickets can also be purchased online at IDR 490,000 for tourists.
📱labyrinthartbali
@BaliNews
#wheretogo#places#entertainment#Tabanan
📰Alit Saputra public sports complex opened in Tabanan
📍 The renovation of the Alit Saputra sports ground in Tabanan has been completed. The look of the former soccer field has changed beyond recognition.
👍DC Field, dirty and neglected, especially during the rainy season, has now become a modern and lively sports complex.
🏋️♀️ It has sports equipment, kid's play areas, and picnic and activity areas. Even in rainy weather, you can exercise on the treadmills.
🫔 Along the edge of the complex, vendors offer local traditional snacks, creating a real street party atmosphere.
@BaliNews
#goodnews#places#wheretogo#sport#Tabanan
🚍 An electric bus for tourists has come up at Jatiluwih
🍚 The Jatiluwih rice terraces have a new option for tourists. They can now use electric shuttle buses to explore this unique area.
👥 At the moment, these vehicles can accommodate 14 people. Tourists will be able to drive from the parking lot through the rice fields in a quiet and eco-friendly vehicle, enjoying the silence and fresh air.
⛰️ The Jatiluwih Rice Terraces are located in Tabanan District and are recognized as a UNESCO World Heritage Site. They are located on the slopes of Mount Batukaru and cover an area of about 303 hectares.
@BaliNews
#wheretogo#goodnews#places#Tabanan#Jatiluwih
🎉The biggest family festival in Bali this Saturday
👨👩👧👦SAMANA Festival is a vibrant family festival in Nuanu City, taking place on October 12th, 10:00 – 18:00.
🥳 This annual event offers an unforgettable day of fun, creativity, and togetherness, designed to bring families closer through a variety of activities and experiences tailored for children of all ages. The festival will feature lots and lots of activities, programs, entertainment, and shows for you to enjoy thoroughout the day.
🎫 Tickets are available to buy here, they start from 55 Rp.
@BaliNews
#wheretogo#events#kids#entertainment#Tabanan
#Indonesia#Bali#Tabanan#Flood#weather#climate#destruction#anomaly#climatechange
🇮🇩 Сильное наводнение на Бали
🌧🌊🚨 22 апреля 2026 года сильные дожди вызвали серьезное наводнение в Банджаре Лодаланге, деревни Кукух (район Марга, провинция Табанан, Бали, Индонезия).
Наводнительные воды затопили дома и сельскохозяйственные угодья, а дороги были заблокированы. Жители сообщили о повреждении имущества и перебоях в транспорте. Власти развернули экстренные службы для эвакуации пострадавших и смягчения последствий катастрофы.