GithubHelp home page GithubHelp logo

soa1's Introduction

SOA1: Serializer test

Домашнее задание для курса по микросервисам

В этом репозитории приложение, которое тестирует разные форматы сериализации.

Как устроено

Каждый формат тестируется в отдельном docker-контейнере. Результаты тестирования доступны через прокси, который по-запросу сам запрашивает их у тестировщиков через tcp. Сам прокси размёщен в отдельном docker-контейнере.

Как запустить

# clone the repository
git clone https://github.com/s-walrus/soa1 && cd soa1

# compile and run servers
cd docker
docker-compose up -d

# make a request
echo 'get_result yaml' | nc localhost 2000
# > YAML – 106 – 17.985µs – 19.055µ

# supported formats: gob xml json protobuf avro yaml message-pack
echo 'get_result gob' | nc localhost 2000
echo 'get_result xml' | nc localhost 2000

# shut down servers
docker-compose down

Тестируемые форматы:

  • gob (native format in Go)
  • xml
  • json
  • protobuf
  • avro (apache avro)
  • yaml
  • message-pack

soa1's People

Contributors

swalrus1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.