Впервые сделал крупный проект (под 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
📈 We've hit a milestone - 50,000 Users in the #Mappasaurus Telegram Community! 🎉
✨ Embark on a journey to decode mapping and unveil a universe of possibilities.
🌍
🤝 Together, we're shaping the connected world.🌐
✈️Join us: @MappasaurusOfficial
🤑Get Cracking: @MappasaurusAppBot🦕
🐦Click to share it with your friend
👀Follow us on:
Twitter | Instagram | Medium | Youtube | Linkedin | Earn
👋 Hey Dinos! A big shoutout to the 3,000 incredible Dinos🦖who joined our AMA session Live on Telegram🧡 Your questions were terrific and made it an unforgettable adventure for the #Mappasaurus team.
Missed the roarsome event? No worries, you can still read our AMA Highlights here https://medium.com/@mappasaurus/1242f43299b4
🤑Get Cracking: @MappasaurusAppBot🦕
🐦Click to share it with your friend
👀Follow us on:
Twitter | Instagram | Medium | Youtube | Linkedin | Earn
🦖DINOS, now we have a 1 BILLION eyes on us 🌍👀
Thrilled to announce that #Mappasaurus App is now officially listed on the Telegram Apps Center.
Explore #Crackasaurus, our Tap2Earn game.
Crack Eggs, Earn $Cracka
and have endless fun—all within the @Telegram
✉️
🤑Play the Game here: @MappasaurusAppBot
Click to share it with your friend
Follow us on:
Twitter | Instagram | Medium | Youtube | Linkedin | Earn
In his powerful speech at Nashville, #Snowden highlighted how the system increasingly erodes individual power. #Mappasaurus stands firm against this tide, offering a revolutionary vision for the mapping industry. Our cutting-edge network of AI-integrated cameras, built and operated by the community, runs on an OS designed to empower people. This vision not only prioritizes secure and private maps but also reinstates power to the people. Mappasaurus is dedicated to fostering a safer, more private mapping experience, highlighting our commitment to community-driven technological advancement.
👀Follow us on:
Twitter|Instagram|Medium|Youtube|Linkedin| Facebook| Threads| Mastodon
🦖#MappaSaurus Announces Partnership with #INSECTONTON
We're collaborating with Insect on TON, an innovative blockchain security project operating on the TON network ecosystem, developing cutting-edge solutions to combat fraud and scams in the blockchain space. More info:
🌐Website
🚀Announcement
💬Discussion
🐦Twitter Handel
By joining forces, we aim to implement advanced security measures and create a safer environment for all users. We look forward to leveraging our combined expertise to deliver innovative solutions and contribute to the overall growth of the Mapping technology with@telegram.
🤝Join us and stay updated about the exciting developments that we are about to bring!
👀Connect With Mappsaurus :
🤑Join the game: @MappasaurusAppBot
Follow us on:
Twitter | Instagram | Medium | Youtube | Linkedin | Earn
🌍Global Communities
#MappaSaurus Partners with #ONUS Tap Tap Tap 🦖🎉
ONUS TAP TAP TAP joins forces with @Mappasaurus for prehistoric fun and mapping technology development.
🎇We're excited to announce our partnership with ONUS Tap Tap Tap - a Telegram-based Tap2Earn mini-game@onusTapbot.
🤝 Our collaboration positions us at the forefront of the booming Tap-to-Earn gameplay. We are looking forward to exploring and developing new features to expand our community.
😊Stay tuned as we uncover more exciting updates further.
🤑Unearth a new quest and excavate $CRACKA@Mappasaurusappbot
Ready to tap through time? More Jurassic journeys and$CRACKAtreasures await. 🦕
🤟 Yo Ho Ho!#Mappasaurus Teams Up with #PirateClash
Calling all Dino Explorers 🦖 Mappasaurus is excited to announce a thrilling partnership with Pirate Clash, a captivating browser extension game where you conquer the high seas as a fearsome pirate!
🏴☠️ Ahoy, Mates! Set sail on an epic arcade adventure with Pirate Clash. Explore a wonderful world where pirates reign supreme – all from the comfort of your browser. Connect and forge alliances for a richer and more social gaming experience. Pirate Clash is powered by the mighty Ancient8 Chain, The Super Gaming Chain on Optimism Superchain!
🤝 Together, Mappasaurus and Pirate Clash are charting a course for exciting new adventures. Join the crew:
💀Join the adventure now on Pirate Clash: @Pirate_frenzy_bot
With this partnership, we aim to bring our communities even closer together, offering exclusive in-game events, joint quests, and special rewards for both Mappasaurus and Pirate Clash players. Together, Mappasaurus and Pirate Clash are charting a course for exciting new adventures.
🤑 Join the adventure on Mappasaurus: @MappasaurusAppBot
👀Follow us for updates and more exciting news:
🦕Mappasaurus
- Twitter
- Announcement
- Discussion
- Website
🏴☠️Pirate Clash
- Twitter
- Announcement
- Discussion
- Website
Join the crew and embark on this epic adventure with us!
Win all the Leagues Titles &Unlock The Next Chapter
Dominate every league & become the ULTIMATE DINO. #Win mountains of $CRACKA along the way. But that's not all - a whole new phase of #Mappasaurus awaits….. Something we've been DYING to reveal.
Ready To Play ?
🤑 Start your journey here: @MappasaurusAppBot
Follow us on:
Twitter | Instagram | Medium | Youtube | Linkedin | Earn
🌍Global Communities
Centralized maps feed a system that tracks your every move, search, and social life. This data gets used for who knows what, leaving you with zero control while rewarding you with nothing but the nagging feeling of being watched.
Join the mission with Mappasaurus: Let’s #Decentralise Mapping and rewrite the rules.
We empower YOU, the user, to contribute valuable data and get rewarded for your efforts with privacy. No more feeding the machine - with us, you’re in charge.
Explore with freedom, contribute with purpose, and earn with #Mappasaurus
🤑Join the Game here: @MappasaurusAppBot
Follow us on:
Twitter | Instagram | Medium | Youtube | Linkedin | Earn
Traditional mapping relies on centralized networks, suffering from slow updates, single points of failure, and high maintenance costs.
We at#Mappasaurusare building a#DePINof cameras with integrated#AIto create adynamic and accurate mapof the world. Our decentralized approach ensures data security, reliability, and real-time maps.
Join Mappasaurus and shapethe future of mapping.
Follow us on:
Twitter | Instagram | Medium | Youtube | Linkedin | Earn
Missing an important meeting because your map app doesn't show a sudden road closure, or arriving at a restaurant that's been out of business for months? Traditional #maps often leave you stranded in the past, failing to keep pace with our dynamic world.
At #Mappasaurus, we're changing the industry with real-time updates on map with ever evoling Ai & Network of DePIN. Get the most accurate #information on time from road closures to new businesses all at your fingertips.
🤑Join the game: @MappasaurusAppBot
Follow us on:
Twitter | Instagram | Medium | Youtube | Linkedin | Earn
🌍Global Communities
Join us to experience the future of mapping.
Our reliance on big tech maps comes at a cost: Every Search, Every Stop, Every Destination builds a detailed profile, raising #privacy concerns and giving control to Big Brother. This #Centralisedmodel leaves us vulnerable to misuse and a lack of control.
We at #Mappasaurus are changing this horizon forever. Join us and learn more about how to take back what's yours. Navigate with both privacy and progress in mind.
Follow us on:
Twitter | Instagram | Medium | Youtube | Linkedin | Earn