Цієї весни я дивився мітап Beyond Serverless and DevOps де Aviran Mordo з Wix розповідав про інфраструктуру та її бачення. Про те, що розробнику не потрібно знати про складні налаштування розгортання. Мене надзвичайно вразила ідея, що достатньо додати в проект частину коду яка буде щось писати в базу даних, і розробника не хвилює звідки база даних візьметься. За це має відповідати платформа.
Такі ідеї дуже близькі для нас. Саме тому хочу поділитись тим, як ми в Київській команді Pro Marketplace B2B BlaBlaCar перейшли від ручного створення і обслуговування баз даних (БД) до динамічного менеджменту даними без участі людини.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <sys/types.h> | |
| typedef uintptr_t ngx_uint_t; | |
| #define ngx_tolower(c) (u_char) ((c >= 'A' && c <= 'Z') ? (c | 0x20) : c) | |
| #define ngx_hash(key, c) ((ngx_uint_t) key * 31 + c) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Crossfire High Level Analyzer (CRSF-HLA) | |
| # Copyright 2022, Max Gröning | |
| # SPDX-License-Identifier: Apache-2.0 | |
| import enum | |
| from saleae.analyzers import HighLevelAnalyzer, AnalyzerFrame, StringSetting, NumberSetting, ChoicesSetting | |
| class Hla(HighLevelAnalyzer): | |
| # List of types this analyzer produces | |
| result_types = { |
OlderNewer