Comments (3)
Hey @gotnoshoeson thank for opening the issue. We've talked about this a few times and I think it's a good idea!
If we haven't implemented it yet it's because we were worried about performance, and were thinking about caching ideas. Hitting the /builders
page and requesting everyone's avatar will make a bunch of requests.
I pretty much have this working already.
Are you using any caching mechanism? Are you using an API or RPC calls? Feel to open a draft PR and we can discuss there.
Thanks.
from buidlguidl-v3.
Thanks @carletex ,
Realizing that my solution isn't very optimized; I'm using my own firebase db so it's pretty fast with only 5 users :) Currently utilizing RPC calls.
I'm now thinking a more scalable/optimized solution would be to hit the ENS subgraph endpoint with an array of builder addresses as an argument variable, that'd be one request/one response with all the needed data. I'll open a PR with this method.
from buidlguidl-v3.
ENS subgraph endpoint with an array of builder addresses as an argument variable
This sounds great! Grouping addresses in a single request would save a lot.
My other idea was to cache it in Firebase (as we do with ENS names**).
** We save the resolved ENS name when a builder is created in the system. We'd also need a cron job to update (not happening at the moment). The other issue is that pages like /activity
don't benefit (since we are not "joining" log
data with the builder
data (where the ENS name is saved). The good thing is that in the /builders page or an individual page, the data is already there.
Anyway, just thinking out loud! Feel free to PR and we can work from there.
Related: I found this too https://metadata.ens.domains/docs#/paths/~1%7BnetworkName%7D~1avatar~1%7Bname%7D/get. An API for getting ENS data :D
Thanks again for working on this, man!
from buidlguidl-v3.
Related Issues (16)
- Can't see stage warning in dark mode HOT 1
- Description field formatting HOT 1
- Please mention scaffold-eth-typescript and its link here as well
- The alpha of svg should be flipped in dark mode for socials svg HOT 1
- Stream Indexer HOT 1
- Hero Text not visible on dark mode theme. HOT 1
- Graduate builders
- search build based on framework (typescript, javascript, etc)
- Add element to BuildCard component to signify scaffold-eth hackathon winners
- Add cohorts
- Sand Garden display shows for both the old and new sand garden cohorts. HOT 1
- Add country flag on builder profiles HOT 1
- Access to Admin Route when Admin url is pasted on Address bar HOT 1
- Cohorts total streamed calculation HOT 2
- Add latest Cohorts to firebase so they appear in the cohorts table of the bg website and into the app withdrawal activity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buidlguidl-v3.