| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
My only concern is you may face some problems with downloading and unpacking 10th of gigabytes of tar zst archives from inside of JVM.
Sorry, something went wrong.
|
i think i fucked up my commit message, stand by! |
Sorry, something went wrong.
Yeah but that is the problem of the user to allocate more resources I suppose. |
Sorry, something went wrong.
|
Is it possible to stream to disk? Then the cluster might not need all the RAM to download? Not sure I understand the issue, just popping my head up from a Lyft :) |
Sorry, something went wrong.
|
Sem's original code does stream the compressed file to disk: val connection = ldbcURL(name).openConnection()
val inputStream = connection.getInputStream
val outputStream = Files.newOutputStream(archivePath)
val buffer = new Array[Byte](bufferSize)
var bytesRead = 0
while ({ bytesRead = inputStream.read(buffer); bytesRead } != -1) {
outputStream.write(buffer, 0, bytesRead)
}
inputStream.close()
outputStream.close()
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What changes were proposed in this pull request?
Adding some more LDBC graph500 benchmark datasets to make the utils more useful
Why are the changes needed?
I'm testing regressions in connected components and need larger datasets