What are some alternatives to JSON? - StackShare (2024)

Often enough I have to explain my way of going about setting up a CI/CD pipeline with multiple deployment platforms. Since I am a bit tired of yapping the same every single time, I've decided to write it up and share with the world this way, and send people to read it instead ;). I will explain it on "live-example" of how the Rome got built, basing that current methodology exists only of readme.md and wishes of good luck (as it usually is ;)).

It always starts with an app, whatever it may be and reading the readmes available while Vagrant and VirtualBox is installing and updating. Following that is the first hurdle to go over - convert all the instruction/scripts into Ansible playbook(s), and only stopping when doing a clear vagrant up or vagrant reload we will have a fully working environment. As our Vagrant environment is now functional, it's time to break it! This is the moment to look for how things can be done better (too rigid/too lose versioning? Sloppy environment setup?) and replace them with the right way to do stuff, one that won't bite us in the backside. This is the point, and the best opportunity, to upcycle the existing way of doing dev environment to produce a proper, production-grade product.

I should probably digress here for a moment and explain why. I firmly believe that the way you deploy production is the same way you should deploy develop, shy of few debugging-friendly setting. This way you avoid the discrepancy between how production work vs how development works, which almost always causes major pains in the back of the neck, and with use of proper tools should mean no more work for the developers. That's why we start with Vagrant as developer boxes should be as easy as vagrant up, but the meat of our product lies in Ansible which will do meat of the work and can be applied to almost anything: AWS, bare metal, docker, LXC, in open net, behind vpn - you name it.

We must also give proper consideration to monitoring and logging hoovering at this point. My generic answer here is to grab Elasticsearch, Kibana, and Logstash. While for different use cases there may be better solutions, this one is well battle-tested, performs reasonably and is very easy to scale both vertically (within some limits) and horizontally. Logstash rules are easy to write and are well supported in maintenance through Ansible, which as I've mentioned earlier, are at the very core of things, and creating triggers/reports and alerts based on Elastic and Kibana is generally a breeze, including some quite complex aggregations.

If we are happy with the state of the Ansible it's time to move on and put all those roles and playbooks to work. Namely, we need something to manage our CI/CD pipelines. For me, the choice is obvious: TeamCity. It's modern, robust and unlike most of the light-weight alternatives, it's transparent. What I mean by that is that it doesn't tell you how to do things, doesn't limit your ways to deploy, or test, or package for that matter. Instead, it provides a developer-friendly and rich playground for your pipelines. You can do most the same with Jenkins, but it has a quite dated look and feel to it, while also missing some key functionality that must be brought in via plugins (like quality REST API which comes built-in with TeamCity). It also comes with all the common-handy plugins like Slack or Apache Maven integration.

The exact flow between CI and CD varies too greatly from one application to another to describe, so I will outline a few rules that guide me in it:1. Make build steps as small as possible. This way when something breaks, we know exactly where, without needing to dig and root around.2. All security credentials besides development environment must be sources from individual Vault instances. Keys to those containers should exist only on the CI/CD box and accessible by a few people (the less the better). This is pretty self-explanatory, as anything besides dev may contain sensitive data and, at times, be public-facing. Because of that appropriate security must be present. TeamCity shines in this department with excellent secrets-management.3. Every part of the build chain shall consume and produce artifacts. If it creates nothing, it likely shouldn't be its own build. This way if any issue shows up with any environment or version, all developer has to do it is grab appropriate artifacts to reproduce the issue locally.4. Deployment builds should be directly tied to specific Git branches/tags. This enables much easier tracking of what caused an issue, including automated identifying and tagging the author (nothing like automated regression testing!).

Speaking of deployments, I generally try to keep it simple but also with a close eye on the wallet. Because of that, I am more than happy with AWS or another cloud provider, but also constantly peeking at the loads and do we get the value of what we are paying for. Often enough the pattern of use is not constantly erratic, but rather has a firm baseline which could be migrated away from the cloud and into bare metal boxes. That is another part where this approach strongly triumphs over the common Docker and CircleCI setup, where you are very much tied in to use cloud providers and getting out is expensive. Here to embrace bare-metal hosting all you need is a help of some container-based self-hosting software, my personal preference is with Proxmox and LXC. Following that all you must write are ansible scripts to manage hardware of Proxmox, similar way as you do for Amazon EC2 (ansible supports both greatly) and you are good to go. One does not exclude another, quite the opposite, as they can live in great synergy and cut your costs dramatically (the heavier your base load, the bigger the savings) while providing production-grade resiliency.

What are some alternatives to JSON? - StackShare (2024)

FAQs

What are some alternatives to JSON? - StackShare? ›

YAML, Protobuf, Avro

Avro
Avro is a row-oriented remote procedure call and data serialization framework developed within Apache's Hadoop project. It uses JSON for defining data types and protocols, and serializes data in a compact binary format.
https://en.wikipedia.org › wiki › Apache_Avro
, MongoDB, and OData are the most popular alternatives and competitors to JSON.

What are alternatives to StackShare? ›

StackShare Competitors & Alternatives
  • Wappalyzer.
  • OceanFrogs.
  • InfoClutch.
  • Span Global Services.
  • HG Insights.

What is the alternative to JSON database? ›

The CSV data format is even simpler and older than JSON. CSV stands for “comma separated value”, and it's great for tabular data. It is a popular standard since the format is so simple, universal, and easy to read and parse. It has a limited use case: tabular data.

What will replace JSON? ›

YAML is the most human-readable data serialization format. Many developers consider it easier to learn than JSON because it's written using natural language. In fact, YAML is a superset of JSON. It was developed around the same time to handle more kinds of data and offer a more complex but still readable syntax.

What are the alternatives to JSON API? ›

REST, GraphQL, OpenAPI, OData, and JavaScript are the most popular alternatives and competitors to JSON API.

Who is the owner of StackShare? ›

Yonas Beshawred - Founder & CEO @ StackShare - Crunchbase Person Profile.

Which Techstack is best? ›

Top 10 Tech Stacks Used for Software Development in 2024
  • LAMP Stack. A classic, time-tested stack of technologies that stands for – Linux (Operating System), Apache (Web Server), MySQL (Database), and PHP (Programming Language). ...
  • MEAN Stack. MEAN stack comprises MongoDB (Database), Express. ...
  • MERN Stack. ...
  • Ruby on Rails Stack.

Is there a better alternative to JSON? ›

YAML, Protobuf, Avro, MongoDB, and OData are the most popular alternatives and competitors to JSON.

What is the fastest alternative to JSON? ›

Solution: The Power of Protocol Buffers

LinkedIn turned to Protocol Buffers, often referred to as protobuf, a binary serialization format developed by Google. The key advantage of Protocol Buffers is its efficiency, compactness, and speed, making it significantly faster than JSON for serialization and deserialization.

What is the most popular JSON database? ›

MongoDB is the most popular JSON database as it offers many other benefits, like: Flexible schema. Speed, flexibility, and space efficiency. Retained data format, making it easier to map objects and run queries.

Is JSON becoming obsolete? ›

JSON is undeniably here to stay. With JavaScript as the most widely used development platform today, JSON has become the most prominent data interchange format.

What is more efficient than JSON? ›

Yes, Protobuf is significantly faster than JSON in both serialization and deserialization processes. This is primarily due to its binary format, which is inherently more efficient than JSON's text format.

What is Google replacement for JSON? ›

The highly regarded JSON data-interchange format is a subset of the JavaScript programming language. It is praised for being lightweight and easy to understand. Google developed protocol buffers, or Protobuf, as a binary format to serialize data between services.

Why is protobuf better than JSON? ›

2. Performance: Protobuf: Commonly, Protobuf outshines JSON in performance and swiftness due to its binary formation and the facility to retrieve a specific area without needing to decrypt the entire data organization.

What is the other format than JSON? ›

Here are 5 data serialization formats that you can use in your next project, beyond JSON.
  • CBOR. CBOR or Concise Binary Object Representation is a serialization format designed to be small in size and faster to process. ...
  • MessagePack. ...
  • ProtoBuf. ...
  • FlatBuffers. ...
  • Cap'n Proto.
Apr 1, 2024

Why is Avro better than JSON? ›

Avro efficiently stores data in a binary format while representing schemas in JSON format. This approach combines the benefits of compactness and human-readable schema representation. The use of binary encoding leads to smaller and more efficient payloads compared to text-based formats like JSON.

What tech stack does NASA use? ›

OpenStack Cloud Computing Platform - NASA.

What tech stacks does Amazon use? ›

Amazon Technology Stack – Java, Perl, Angular JS, MySQL, Amazon EC2 container service, DynamoDB and a host of other Amazon frameworks. Google Technology Stack – Python, Java, Android SDK, Go, C++, Preact, Angular JS, Kubernetes, TensorFlow and a host of other Google frameworks.

What is the best tech stack for SaaS startup? ›

The Top Tech Stacks For SaaS Applications
  • React. A JavaScript library for creating user interfaces developed by Facebook (now Meta). ...
  • Angular. A TypeScript-based framework developed by Google suitable for building large-scale applications. ...
  • Vue. js. ...
  • Node. js. ...
  • Django. ...
  • Ruby on Rails. ...
  • PostgreSQL. ...
  • MongoDB.
Sep 6, 2024

What tech stack does patreon use? ›

About. Patreon uses 85 technology products and services including HTML5 , jQuery , and Google Analytics , according to G2 Stack. Patreon is actively using 87 technologies for its website, according to BuiltWith. These include Viewport Meta , IPhone / Mobile Compatible , and Domain Not Resolving .

Top Articles
How the Fed’s moves are impacting CD rates
Here’s How Much You Could Earn Investing $5,000 in a CD Today
I Make $36,000 a Year, How Much House Can I Afford | SoFi
Wordscapes Level 6030
Part time Jobs in El Paso; Texas that pay $15, $25, $30, $40, $50, $60 an hour online
Terrorist Usually Avoid Tourist Locations
Ghosted Imdb Parents Guide
How Much Does Dr Pol Charge To Deliver A Calf
Espn Expert Picks Week 2
Yesteryear Autos Slang
Immediate Action Pathfinder
More Apt To Complain Crossword
7 Low-Carb Foods That Fill You Up - Keto Tips
Craigslist Apartments In Philly
Haunted Mansion Showtimes Near Millstone 14
Aldi Süd Prospekt ᐅ Aktuelle Angebote online blättern
Bridge.trihealth
*Price Lowered! This weekend ONLY* 2006 VTX1300R, windshield & hard bags, low mi - motorcycles/scooters - by owner -...
Viha Email Login
Kringloopwinkel Second Sale Roosendaal - Leemstraat 4e
Wbiw Weather Watchers
Ford F-350 Models Trim Levels and Packages
St Clair County Mi Mugshots
Kingdom Tattoo Ithaca Mi
What Sells at Flea Markets: 20 Profitable Items
Die wichtigsten E-Nummern
Chadrad Swap Shop
Emily Katherine Correro
Beaver Saddle Ark
2015 Chevrolet Silverado 1500 for sale - Houston, TX - craigslist
Powerball lottery winning numbers for Saturday, September 7. $112 million jackpot
Everything You Need to Know About NLE Choppa
Synchrony Manage Account
Mta Bus Forums
USB C 3HDMI Dock UCN3278 (12 in 1)
Koninklijk Theater Tuschinski
Citibank Branch Locations In Orlando Florida
511Pa
Noh Buddy
Petra Gorski Obituary (2024)
Ohio Road Construction Map
Gt500 Forums
Minterns German Shepherds
Joy Taylor Nip Slip
Rubmaps H
Where Is Darla-Jean Stanton Now
Tenichtop
Coldestuknow
Sunset On November 5 2023
Intuitive Astrology with Molly McCord
Equinox Great Neck Class Schedule
Latest Posts
Article information

Author: Gov. Deandrea McKenzie

Last Updated:

Views: 5761

Rating: 4.6 / 5 (46 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.