Presentation

Just a SDMX endpoint

  • sXS is a Structures and Data SDMX endpoint
  • Managed artifacts: agencySchemes, dataProviderSchemes, dataflows, categorySchemes, categorisations, codelists, conceptSchemes, provisionAgreements, contentConstraints, datastructures, hierarchicalcodelists, metadatastructrures
  • Semantic Version Management + dependencies late binding with SDMX patterns
  • Multilingualism
  • Content negotiation
  • Output JSON + XML (partial) + CSV versions 1.0 and 2.0 + versioned API
  • Maintenance API (Post JSON 1.0 and 2.0)
  • Data availability queries (2.1 and 3.0)
  • Support microdata
  • Codelist extensions - Discriminated Unions
  • Metadata for DSD
  • Authorization management via OIDC server with permissions and roles - a user is linked to many organisations with roles and permissions on spaces

Get SDMX easier and cheaper

sxs is designed and crafted to be part of a global SDMX architecture, to meet the following goals:

  • Full featured and integrated SDMX endpoint for both Structures and Data
  • Designed from scratch for SDMX 3.0 and compatible with 2.x
  • Built exclusively with open source technologies (MongoDB, Clickhouse, NodeJS, JS libraries)
  • Cloud ready (crafted with Kubernetes and Docker in mind)
  • Easy to deploy from a single instance to a cluster configuration
  • Benefits from MongoDB technology (NoSql, big data, sharding, replicas)
  • Benefits from Clickhouse technology (big data, sharding)
  • Schemaless: less data migration
  • Multi organisations, multi spaces, multi databases
  • Click and play : near zero setup per organisation
  • Blazing fast
  • Cost effective (development and maintenance)
  • Easily extensible: < 15 000 lines of code ; > 70% of tests coverage - cost to maintain and enhance it will be very limited
  • Integrated with the .Stat Suite (reuses new Tenant model, uses Proxy / Config)
  • connected to a Message Oriented Bus (RabbitMQ) to ease integration with applications and to implement complex workloads
  • could be enhanced by using Xplor (authoring) and Confy (management) tools

Key architecture enablers for achieving the above goals are a combination of: DevSecOps (Docker, Kubernetes), real time analytic database (Clickhouse), NoSQL / schemaless storage (MongoDB) and NodeJS (javascript) to supersede the age old (and costly) .NET / Java antagonism.

Simple but effective

  • Store artefacts directly in SDMX JSON
  • Store observations within Clickhouse for blazing fast queries
  • Each space is an isolated database
  • Databases are created dynamically deduced from organisations and spaces defined in config://tenants.json
  • Observations indexation strategy may vary per dataset
  • Allow to version datasets and keep observations history
  • sxs is multi tenant - multi spaces: one sxs deployment can serve many organisations and spaces
  • sxs is cluster ready: run one or many identical instances grouped in a HTTP farm fed by a load balancer