micro VS zap

Compare micro vs zap and see what are their differences.

zap

Blazing fast, structured, leveled logging in Go. (by uber-go)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
micro zap
41 51
11,999 20,894
0.2% 1.4%
8.7 8.1
about 7 hours ago 7 days ago
Go Go
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

micro

Posts with mentions or reviews of micro. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-31.
  • Show HN: Mu โ€“ A community first app platform proposal
    1 project | news.ycombinator.com | 13 Jun 2023
    Hi HN

    I'm Asim, an engineer and author of the open source project Micro (https://micro.dev). I've been on this forum in various forms since 2009. In that time I've seen a lot of shifts in the technology landscape, participated in a few and even tried to start a company myself (which ended up VC funded). In typical HN fashion, I drank the kool-aid and applied to YC around 8-10 times. I got so far as going to mountain view for an interview but never got in. I played right into the idea of starting a fast growing company and "changing the world" by solving my own problems in the developer ecosystem but somewhere along the way lost sight of the problem I was solving. I think it speaks to my own need to seek validation (in the wrong place) but also the general nature of the ecosystem that became all about the pursuit of more funding, growth, users, etc. It really feels like while there's 70-80% value created, the other 20-30% is doing us a lot of harm. Consumer software has become addictive, corporations are becoming huge profit seeking blackholes that mostly cater to their shareholders and we have yet to see any great alternative to the existing tools and services we're now beholden too.

    A couple weeks ago I posted Micro Chat (https://micro.mu) on HN - https://news.ycombinator.com/item?id=36135683. This was my first effort in trying to solve the problems mentioned above. But I don't think it's enough. I think what we're talking about is something much bigger. And it's not going to be solved by open source, federation or a single tool. I'm starting to think we need to build something bigger, an entirely new community led app platform.

    So here's my idea. Mu (pronounced mew) is a proposal to build a new community app platform from the ground up. It would address all the problems we seem to mention here about ownership of services, addictive scrolling, profit seeking agendas and do it by empowering a community to crowdfund the creation of an alternative system that focuses on being a utility for the people. It would generally be open source, potentially self hostable, but the larger goal would be to empower a handful of people to host and run the service for everyone else, a built like how Let's Encrypt is run today.

    I've thrown this idea around a lot, started many discussions here and even tried to push a few things out but never really gotten anywhere with it. I think part of it is to just, build the smallest piece and see where it goes, hence Micro Chat, but the other part is to gauge the sentiment in the room and see whether we can actually fund something much bigger totally aligned with the community. I'm a huge fan of Google services and the utility they offer, but the nature of technology has veered so far into addiction with scrolling feeds, streaming and social media that I feel there's a need to do something now.

    If there's interest, please comment and provide feedback.

    Cheers

  • Show HN: Micro Chat โ€“ Private group chat
    2 projects | news.ycombinator.com | 31 May 2023
    Hey all

    I'm Asim. I'm an engineer who's been hacking on an open source project called Micro for the past eight years (https://micro.dev). In that time I've done a lot of things, all Dev related but ultimately most of my career was spent working on platforms for consumer products. After many attempts I've decided the path forward is to focus on building something that solves my own problem. Micro Chat is a solution to some of the social media problems I've been having.

    What I've been looking for most of my life is a community. A place to belong. I scoured the internet for that with strangers. But I think that's wrong. The public forums are also the wrong place to find that connection. What we need to do is focus on smaller communities starting with real connections. We need to strip away a lot of the addictive behaviours and issues created by social media. I think things like hackernews are great because it's very simple text based, with no notification and centers around conversations about topics of interest. I think that's how group chat should also be. The difference here is, I want a place to build small private communities e.g micro communities. Most real groups lose their value beyond a certain size. For me that's around 20 people. As an introvert I really care about strong connections with a handful of people. Unfortunately those real world connections are now spread globally as people moved away and while we have private slacks or WhatsApp grojps to stay in touch it just feels like the wrong setup for that. If anything I want to consolidate it into one place.

    Anyway I'm sharing this now to get some feedback. I think the tech and the product will evolve but only by finding out if others feel the same.

    https://micro.mu

  • Show HN: Micro โ€“ Platform APIs built for developers
    1 project | news.ycombinator.com | 20 Mar 2023
  • Tech Layoffs Are Feeding a New Startup Surge
    1 project | news.ycombinator.com | 23 Feb 2023
    Happy to help anyone starting up. I raised a couple mil in seed funding for an open source project after bootstrapping for a few years. I'm sure the YC crew would be more helpful but I got rejected by YC like 8 times and took the direct route to funding.

    We built this https://M3O.com. It was based on this https://github.com/micro/micro

    Just happy to help given my own tough experiences. Pitch deck reviews, intros, etc.

  • Ask HN: What are some examples of cloud lock-in?
    4 projects | news.ycombinator.com | 5 Dec 2022
    Had similar goals. Started by writing Go interfaces for it with Go Micro - https://go-micro.dev then opted for the platform service model as you mentioned with Micro - https://micro.dev

    I think whether it's Dapr, Micro or something else, the platform service model with well defined interfaces is the way to go. I don't think a lot of people get this yet so it's still going to be a few years before it takes off.

  • Go Framework: No Framework?
    11 projects | news.ycombinator.com | 29 Nov 2022
    What if any is the relationship between https://m3o.com/ and https://micro.dev/ ?
  • Micro - An API first development platform
    1 project | /r/microservices | 15 Nov 2022
  • More Instant Messaging Interoperability
    7 projects | news.ycombinator.com | 1 Nov 2022
  • Real World Micro Services
    2 projects | /r/selfhosted | 3 Oct 2022
    I shared this post in a few developer communities like Hacker News and it was well received. Over the past few years I've been working on an open source project called Micro, an API first development platform and I'm now sharing Micro Services, a catalog of reusable real world Micro services.
  • Go Micro: a standard library for distributed systems development
    8 projects | news.ycombinator.com | 30 Sep 2022
    Wait, I've seen this repository on HN a few days ago: https://github.com/micro/micro

    Are you affiliated with this repository? How is it related to yours?

zap

Posts with mentions or reviews of zap. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-27.
  • Desvendando o package fmt do Go
    1 project | dev.to | 1 Nov 2023
  • Building RESTful API with Hexagonal Architecture in Go
    21 projects | dev.to | 27 Sep 2023
    The project currently uses slog package from standard library for logging. But switching to a more advanced logger like zap could offer more flexibility and features.
  • Structured Logging with Slog
    11 projects | news.ycombinator.com | 22 Aug 2023
    It's nice to have this in the standard library, but it doesn't solve any existing pain points around structured log metadata and contexts. We use zap [0] and store a zap logger on the request context which allows different parts of the request pipeline to log with things like tenantid, traceId, and correlationId automatically appended. But getting a logger off the context is annoying, leads to inconsistent logging practices, and creates a logger dependency throughout most of our Go code.

    [0] https://github.com/uber-go/zap

  • Kubebuilder Tips and Tricks
    2 projects | dev.to | 22 Aug 2023
    Kubebuilder, like much of the k8s ecosystem, utilizes zap for logging. Out of the box, the Kubebuilder zap configuration outputs a timestamp for each log, which gets formatted using scientific notation. This makes it difficult for me to read the time of an event just by glancing at it. Personally, I prefer ISO 8601, so let's change it!
  • Go 1.21 Released
    7 projects | news.ycombinator.com | 8 Aug 2023
    What else would you expect from a structured logging package?

    To me it absolutely makes sense as the default and standard for 99% of applications, and the API isn't much unlike something like Zap[0] (a popular Go structured logger).

    The attributes aren't an "arbitrary" concept, they're a completely normal concept for structured loggers. Groups are maybe less standard, but reasonable nevertheless.

    I'm not sure if you're aware that this is specifically a structured logging package. There already is a "simple" logging package[1] in the sodlib, and has been for ages, and isn't particularly fast either to my knowledge. If you want really fast you take a library (which would also make sure to optimize allocations heavily).

    [0]: https://pkg.go.dev/go.uber.org/zap

    [1]: https://pkg.go.dev/log

  • Efficient logging in Go?
    1 project | /r/golang | 11 Jun 2023
  • Why elixir over Golang
    10 projects | /r/elixir | 29 May 2023
    And finally for structured logging: https://github.com/uber-go/zap
  • Beginner-friendly API made with Go following hexagonal architecture.
    5 projects | /r/golang | 21 May 2023
    For logging: I recommend using Uber Zap https://github.com/uber-go/zap It will log stack backtraces and makes it super easy to debug errors when deployed. I typically log in the business logic and not below. And log at the entry for failures to start the system. Maybe not necessary for this example, but itโ€™s an essential piece of any API backend.
  • slogx - slog package extensions and middlewares
    3 projects | /r/golang | 1 May 2023
  • Why it is so weirdo??
    2 projects | /r/ProgrammerHumor | 22 Mar 2023

What are some alternatives?

When comparing micro and zap you can also consider the following projects:

go-micro - A Go microservices framework

logrus - Structured, pluggable logging for Go.

grpc-go - The Go language implementation of gRPC. HTTP/2 based RPC

zerolog - Zero Allocation JSON Logger

rpcx - Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! ๐‰๐š๐ฏ๐šๆœ‰๐๐ฎ๐›๐›๐จ, ๐†๐จ๐ฅ๐š๐ง๐ ๆœ‰๐ซ๐ฉ๐œ๐ฑ! build for cloud!

slog

DHT - BitTorrent DHT Protocol && DHT Spider.

glog - Leveled execution logs for Go

celeriac - Golang client library for adding support for interacting and monitoring Celery workers, tasks and events.

go-log - a golang log lib supports level and multi handlers

Dkron - Dkron - Distributed, fault tolerant job scheduling system https://dkron.io

log - Structured logging package for Go.